modified the applicaiton.java