Addedn pman function