Create MAX.java