rename getState
next_state
calculate_step