Completed create dictionaries method