add callback to function
add callback to function in service