Created method specifically for invoking lambdas