loop analysis done