make logic usable for any pod
Merge pull request #2 from piranha/master

make logic usable for any pod