checking probability