WIP ex40
Completed exercise #40