refactor UserOperations, new class Measure