move task callback to include file #3307