Do not store online players in a variable
Add getUnitNames() method