switching to java 7