Towards digital and sustainable societies