Update main.c

I am sure this is getting worse not better...