Lessons for teaching from the pandemic