nearing completion of the .c file