added reduced-error pruning