Smart societies of the future