raise NotImplemented error when get to the right point.