before adding states to sales.jsp