MAD_ex08-solution