loop circuit