add chance as dependency