check difference with -1 parameter