REFACTOR: replaced raw_response with parsed_response