My solution to the test mi9 sent me.