refactoring for java8