adding configurable endpoint