Documented main.c