changes to pc.c and created input file