switch to Java 8