Revision on calculating the probability