made a generic function get_column