removed output.c and output.h