improvised
1.
to invent or make something, such as a speech or a device, at the time when it is needed without already having planned it:
:
•
I hadn't prepared a speech so I suddenly had to improvise.
to invent or make something, such as a speech or a device, at the time when it is needed without already having planned it: