Extension of the Fokker-Planck equation