clarifications based on Jüppe's comments, java 8 example