more work towards pruning