Added some serve toggle func and check_end_of_tie_breaker check func