refactoring robot move
refactored code, but still being pesky