Use range based for
Load loot tables from database