single loop pattern
Issue #23