unecessary param in getEvents