replacing in gc