do "insucktion" for term index in the constructor.