converted CONST to global params