added spark response and body display code