Adding endpoints