array: one possible approach
array: comment out main()