chef.c (in progress)