final wtc_proc.c 

with correctness assured and output standardized