do we really need these two above to be globals?