added parameter types to lambdas