add total_winning_delta.c and total_losing_delta.c