renamed vec to Vector2D