edited java8 recipe