Add pressure sensor, fix bugs