modified the Application.java