The multifrequency variability of Mrk 421