move logic.