adding the osType to the return structure