implemented harmonize()