added pyleague, building out functionality