separate methods for local and remote clusters