starting with java8 apis