Replaced prob functionality