algo interface added, +examples