Added a function for dotted lines

Anyone can add to this right?  Or did it have to be something that was an issue?