adding client endpoint for example