allowing configurable endpoint