make various code aware of pdot