add headers, and empty colname support