added real memory game functionality