getting pid
new version