Marked incorrect algorithm