Converted lambdas to protected functions