moved diff check into main.c