added cidr support