functions added to multi task learner class