Used dict comprehension instead of using the object