added create_subtask method