init data collection code