extends  array and string