randomly generating start point.