It works now
Merge pull request #23 from 4justinstewart/function

It works now