Stochastic aspects in credit managemnt