updated output width for flexibility