def create_vector_clock(node_id, timeout):
    """This method builds the initial vector clock for a new key.

    Parameters
    ----------
    node_id : int
        the id of one node in the cluster
    timeout : int
        the expire timeout of the key

    Returns
    -------
    dict
        the vector clock as dictonary
    """
    if node_id is not None and timeout is not None:
        return {
            "versions": [{"nodeId": node_id, "version": 1}],
            "timestamp": timeout
        }
    else:
        raise ValueError("You must gave the node id and the timeout.")