add movecrow logic