Coding exercise for M-GO