add useful functionality to webservice