             switch instruction {
             case "M": // moveto (absolute) e.g. M 250 550
                 if instructions.count <= instructionStartIndex+2 {
-                    print("Encountered incomplete M path instruction", terminator: "\n")
+                    print("Encountered incomplete M path instruction")
                     break
                 }
                 let xStr = instructions[instructionStartIndex+1]

                CGPathCloseSubpath(pathRef)
                instructionStartIndex = instructionStartIndex + 2
            default:
                print("Failed to process path instruction", terminator: "\n")
            }
        }
        return pathRef

                }
            case "L": // lineto (absolute) e.g. L 190 78
                if instructions.count <= instructionStartIndex+2 {
                    print("Encountered incomplete L path instruction")
                    break
                }
                let xStr = instructions[instructionStartIndex+1]
