first commit of dir.c