Added ability to change line styles