function getPullRequest(); minor changes