Improve the following code | GuluPrompts