add index and ignore