implement finite states for positions #kornwolf