added java 8 exammples