initial java 8 sample