Added speed_control_code (tested)