Move Global variable to the top.