creating_first_state_machine