add RedisBayes functions