require for 'os' was missing