refactoring the dilution
first implementation of the stochastic sink