added function valid_ip_address