add a callback

add a callback and remove the future