add index in root