wrapped scope in lambda

lambdas! who knew?