Algorithm ready.