Implementation of two typical data source