added devctrl.c