Selecting the data source type