method to set the next player