removed void pointers from events