integrate all functions in Task's child class to Task class