added global_stuff