added timestamping to the data collection