some AddEvent functionality