Add new function for web service