add probability.cc