change rayleigh and add ring distribution