new implementation for LabelAnalysisServlet.java