Add basic event handler