don't use lambdas - possible circular initialization problem