adding distance and pressure measurements