adding pml to function list