commited ex1.c