added an endpoint