add a callback
Merge pull request #32 from uber/callback

add a callback