completed foreach