Merged support.c into z.c