Format the previous algorithm ariticles