For a variety of algorithms