Basic functionality for add-event