parse responses