made some pretty formatting on main.c