added the event set code to Makefile.am