modify blog.c and main.c