added temnames to addgame function