subnets can contain classes