added For loops