revised PRSP to work with non-binary states