getting initial state changes to work