use method reference instead of lambda.