printfs in parse_ip