transitions and states are now seperate