refactor 'PR to review' functionality