removed os code and import