I once visited a principal who greeted his students as they walked in the front door of his school. He told me, “I solve 90% of my school’s discipline problems by standing here, greeting each student. I notice who’s smiling and who seems to be upset, and I stop them, talk to them, see if I can intervene and catch the problem before they walk into their classes.”
I never forgot this statement.