Long term variability of solar activity