add java 8 examples