exposed currentViewModel to global variable