Add probability functionality