made some updates
Merge pull request #1 from scopatz/pair

made some updates