add callback option
Merge pull request #1 from FinalCAD/add_callback

add callback option