basic event handling configuration working