correcting simple.c