Changed the name of the global variables adding a _ at the end