Implemented PSSM (roughly