public void service(ServletRequest request, ServletResponse response)
		{
			BigInteger i = extractFromRequest(request);
			
			// NEW
			if (i.equals(lastNumber.get()))
			{
				encodeIntoResponse(response, lastFactors.get());
			}
			
			else
			{
				BigInteger[] factors = factor(i);
				encodeIntoResponse(response, factors);
				
				// NEW
				lastNumber.set(i);
				lastFactors.set(factors);
			}
		}