player move refactored.