Add task related function for manager