delete main.c~
clean up source code