changes to prune client, this is not functional yet