pruning dependencies