switch versions to variables