test with function overloading in vec2d