new method to get sub tasks for a task