example of Java 7 features