avoid some implicit globals