handle multiple responses in view