switch from meas and measEnd to measX and measU