league logic