add callback feature
Merge pull request #151 from forrest-mao/add_callback_feature

add callback feature