rename xbegin, xend.