make strings and arrays immutable