Added constructor for measurements