changed the CatStringArray method