Added madlib function with prompt and return.