App2.java modified