formatted the java code in CappHome.java