adding the endpoint setting the builder