perfect optimal loop
perfect optimal loop