Synchronous and asynchronous events