beginning end point definition