main.c should be mostly done