added method to get events by status