add indexes and max size for strings