add callback to task stuff