Exercise 6.3 in progress
updated dict