adding get_pressure, get_gravity