Implemented methods in the data source class