add pressure calculation