measure range works