getting the various events