adding Measure class