adding key to globals