control.c implemented.