variable q i vectorisert
vectorized