servlet implementation by thomas added