Added ab pruning