setting up datasource