change to java 7