Added a dictionary creator