Added some testing code to check players available. HAS BUGS.