updated to allow user to specify lb method of either global availability or topology