do we really need a new global? Can we scope this local to this file?