lots to reg_demo_utils