added memory to addgame