teams retrieved from the database