added the print content of array command