extract measure to Measurable trait