before trying to add dictionary in case it all goes to shit.