get variable width output working