extract imported keyword to a global variable