adding near by endpoint