adding ex15.c and ex16.c