Changed type of probability to int