use measures from RecordSelectors
restore deriving
restore deriving
SAFE:)