Ongoing Code Development; additions to main.c