.dashed, .dotted refactor