added callback
Merge pull request #1 from mreq/master

Added callback