add character-based index