added other endpoint option
add endpoint option