added default limit of 10 to getEvents