I do have to say that the first algorithm happens A LOT.