added forloop3