Modify mac.cpp by someone else