add Vec2 binding
modified templates