Factored ,  out of game.rb