main.c reuploaded