added the filter in the index page