enable callback function
Merge pull request #3 from james2doyle/add-callback

enable callback function