finished functions in learning_curve, need to add dependencies