changed tabs to spaces
changed imports to separate lines
pep8 compliance