moved pid constants out to dict