works for multiple players with testing