edited print.c/.h