added columnArray function