added some more game functions