New algorithm, works