added other pid int generation.