adding checkers to design with java 8 lambdas