added hasmeasurement