retornando o restrict_to_networks