changed some response generating process