Function to remove Nym