Refactor names of global variables; ga & dc