Correctly inserting measurements