created ex16.c