Code for Mi9 Code Challenge