add get version method