changed logic generate sequence.1 column, 2, 3, etc.