make the lambda simpler