removed os variable since there was no global for it