main.c no longer needed