added movecrow logic