added a temp. version of global references