almost finish with filtering index pages