need to write function getColumn