added cidr_range method