working bet proto