add index and links