learning about dynamic procs and lambdas