Added more functional programming like versions of ssu and psu