calling karl's code in the proper way.
Merge pull request #17 from tbendubois/master

calling karl's code in the proper way.