working on a little helper to get a machine into a particular state.