better use of the new dictionary initialisation