beta demo code