statistics gathering init