creating and deleting subtasks