code sample for dictionaries