updated player.javas