optimize timing/ add commands