adding demo for java8 new features