add task func in progress