renamed control->agent