switch to Java8