separat for loop