adding missing GetVersion function