New function
Merge pull request #11 from edwardcapriolo/addtolib

New function