validation of selected pr