exporting from arrays