Extracted measure used to split into function