implemented methods getPreviousEvent and gotoEvent for DataSource