beta working example