Use new vector2 function.