added Algorithms 1 and web_related_code