Fixed getSPH() function :)