add options to resolve clusters that are not identical, add global
variables for parameters