can use lambdas as checkers