beginning response generation