And if not by chance, I caught a name in my memory and addressed the student. I mainly tried to address students I knew they didn't pay much attention to. I think it worked quite well. Only at the end of the hour did their attention wane. Having more experience, I would try to reactivate the students somehow, but at the moment I couldn't think of anything.
I think it worked quite well.