refactoring
offloading of scalar measurements, async offloading