Correct use of atoms and events