refactor pressure