Create pml.code