refactor in progress: player in losse class