allowing caller to set processId