added a reset_state