Tagged algorithm