make ctl.c slightly easier to follow