Implemented Global Variables