add index foundation