added wrapper around do_it for the callback