Exercises...

I think the purpose was to use `when` here