added missing 'var's