add function with remove nodes useless + add an harder test