added  and singleEvent functions to events