added pd stuff