added endpoint config