extract information from response - app code