added negative psi output