Making team display generic to accept any team id