finished up datalogging