use array for storing columns