generate dictionaries as well