added varying # of proc