I'm guessing it works as intended? Now uses random observation depending on the correct chance distribution of observations.