added player helper functions
Merge pull request #940 from vos/master

added player helper functions