task and subclasses associating