insert snippet for Ptengine.