Why change string type here?