Removing printing code from main.c