beginnings of OS detection