removed unused os import; pep8 coding standard