Added custom pid