modified Application.java