typecasted globalasset variable