switched out noteRange for valueRange