added disable code for measuremets