added some game functionality