changed player.rb