setHandicap function