added in the new class constants for P,M,D