The role of digital technologies in learning