added functionality for number of player selection