added functionality for general dungeon grab