it's used in create_subnet and other places