This is how the function with the business logic looks without lambda
Moved to Java 8 lambda in  a blink