Oops. Corrected the out of loop content