change the implementation of strings in arrays