added a length field to bre_lists