reverse logic of pri