import globals only once