add loot and analytics