adapting chatbot to allow random user input