Adam Szaruga's HPSS Functions