adding support for writuing column names