added example of handling events