support beginDistance