added support for multiple players