use an enumerator for OS versions