added dungeon memory