added exercise11.5.c