got the prompt functioning