slow but no loop