replaced response mechanism with one that enables response streaming