App.java modification
add static variable and new output