GENERALIZED FEYNMAN KAC FORMULA WITH STOCHASTIC POTENTIAL