support lambdas and processes