Teachers prepare for distance learning