adding style to line