Finished fd.c, but still need to update interface uses in controller.c