Added an option to customize the dictionary if wanted