removed unused imports,added curly braces,replaced spaces to tabs