def readableInputHistory(inputHistory, names):
    """
    Given an inputHistory and a set of actions, names, as a NamedList, produces
    a human readable version of the inputHistory. 
    """
    history = []
    for key, clock in inputHistory:
        if key in names:
            i = names.values.index(key)
            key = names.names[i]
        history.append((key, clock))
    return history
