Gretel/residue/events
