support multi end-points