ADD: inserting short algorithm