change to java 1.6 to allow older compiler