add method for generating temporary dictionaries