completing gc.c