add index as text