took out echo statements, better teachinglearning handling