refactor parse_cip_result