slight refactoring, renamed 'player' to 'client'