try using `d.get(1)`, or `d.items()`, etc.