added filter array processing