added measure/process functions