Bonus exercise and exercises until 5

Exercise 5 is missing a cast, but I don't understand how to do this yet.