trace lines and print out array creation code