Create when.c