Added enum subtaskType