commits to main.c