add into to algorithms and servlet