upgraded to java 7