lambdas for scope declarations