using dict comprehension