finished methodology, need to modify the probability definition