if the user does not specify a default endpoint we use a default one