made P and D work again