add callback and function test code
add callback function study code