minor changes to state 6