make ipaddresses optional