Cleaning up ex4-1.c