added uri func
Merge pull request #3 from hodorcage/master

added uri func