re-added index, header, and footer