which.c working