allow default params for probability function