some vector2 functions