Add mad metrics solution