Replaced uses of String with char arrays