private String needAbort(String transaction, Set<String> conflicts) {
        transactionEntity thisone = transInfo.get(transaction);
        for (String conflict : conflicts)
            if (thisone.timestamp > transInfo.get(conflict).timestamp)
                return conflict;
        return null;
    }