added header_width option