added function printColumn