changed init() to loot_init()