parameters of change_state() method changed