fixed bad indents and removed unused imports