added psignifit functions