pass in wrap callback function
Merge pull request #4 from MauriceButler/master

pass in wrap callback function