added functionality for dashed line