work toward functional loot tables