The role of distance learning in secondary education