remove debug print, parameterize line width