diff --git a/html/tutorial/tutorial5/SBWriter.java b/html/tutorial/tutorial5/SBWriter.java
new file mode 100644
index 0000000000000000000000000000000000000000..efbe0d42947e9d2883103aa2c8d933dec013f021
--- /dev/null
+++ b/html/tutorial/tutorial5/SBWriter.java
@@ -0,0 +1,28 @@
+package example.ws.matcher
+
+import java.io.BufferedWriter;
+import java.io.FileNotFoundException;
+import java.io.PrintWriter;
+
+public class SBWriter extends PrintWriter {
+
+       StringBuffer sb;
+	
+	public SBWriter(String string) throws FileNotFoundException {
+		super(string);
+	}
+	
+	public SBWriter(BufferedWriter bufferedWriter, boolean b) throws FileNotFoundException  {
+		super(bufferedWriter, b);
+		this.sb = new StringBuffer();
+		
+	}	
+	
+	public void print(String s) {
+		sb.append(s);
+	}
+
+	public String toString() {
+		return this.sb.toString();
+	}
+}
diff --git a/html/tutorial/tutorial5/index.html b/html/tutorial/tutorial5/index.html
index 3b9fa44a14992be2b8ce38a028b341087950fda3..cf123cfb5eac473f9ab3456ced1d6aff35a87fe3 100644
--- a/html/tutorial/tutorial5/index.html
+++ b/html/tutorial/tutorial5/index.html
@@ -188,6 +188,9 @@ public class MyAlignmentWS extends MyAlignment implements AlignmentWS {
 
 <p> Nothing more is needed. </p>
 
+<p> You can download <a href="SBWriter.java">SBWriter.java</a>.</p>
+
+
 <h2>Publishing the web service</h2>
 
 <p>In order to be available for external access, the web service must