The Algorithm