MAD Assignment 2