Pruning is now functional