implemented line width scaling
implemented a line width conroller