ex3.c: first save