version function test