adds 'events' and starts to use them