Move logic to prune