The teamB code