supervised learner now functional