more work for datalogging