refactored code for adding new players