Update main.c

was in wrong context