Reduced the elements with a filter