added some logic to the GameWorld class