init_bars is a C function