Change algorithm, edit code
Change algorithm, edit code