Worked on pdmodel