moved to Java 6