check if callback was provided
Merge branch 'master' into gh-pages