Adding line caps