main.c for diff