modified testpsd