Add the Index CDT function