refactoring. create string constant index names.