modified goodbye.c