p class c handling