sends required pid param to function.
Merge pull request #22 from birkin/master

sends required pid param to function.