added For loop