switched to java 8