forgot to add main.c to previous commit