Different implementation for ip address defining