add bbb purity weighted functionaliry