companion code for the Java 8 Techzone