added switch to turn cluster off