end for EF