pull functions out of game object