Added LastMeas function