added subscription to the datasource factory