preparation for multiple data sources