implemented color and line width