beginning of data collection from DB