WIP: added pull request logic