formatted front.java