Renamed col_width, margin, output parameters for better clarity