Introduce endPoints function to link chain