Lessons learned from virtual instruction may transform in-person classes