filter does work now as discussed. filter code is optimized (happy reading :) )