tiny change to prog5.c