refactor measure to observation #78

closes #78