Equalizer design