Refactored movement code