amending move logic