removed global_stuff