added pressure/height calculations