renamed getPlayer() to player()