add pcode