small progress getting TRAITS code working for Bags