added a second iteration for brand filtering