add index to footer