removed the if structure arund getpressure