Use pid for seed