Documentation for MAD