I am changing the function to do something different

Instead of an alert, there is now a prompt asking for information. I
need to find a way to keep this going and make it original.