About to perform major changes to main.c