add support for fetching events