adding first endpoints