populate league var dynamically