writing code outside of the loop

thank you that is exactly what I needed .