updated AddFilter code indentation