added generic measurement parser