now imports string and irefindex