parsing pvs output