using floats or liquids as sensing elements