updated comments in main.c