pruning simple example