Implemented the page index and formula index