recast process definition to be more generic