toArray and initWith