add pager to event interface
new version and passes tests