Adding PCFG constructor