def vv_declare(string, flag, idx2, countstr):
    """Turns Variable declarations into VectorVariable ones"""
    length = string[len(flag):idx2].strip()
    return countstr.replace('Variable(', 'VectorVariable(%s, ' % length)
