add print_array