added get_subnet