change set_init_state to set_current_state