added control.c