Mex Hat

Added Mex Hat for P3 only.