CHANGED:applied the create task function support