added type signatures for restult processes