perhaps this is better version of accessing globals in other packages