player is not defined